using System.Text;

namespace OracleInternal.SqlAndPlsqlParser.LocalParsing.Ansi
{
	internal class OracleLpAnsiInnerCrossJoinClauseWithCondition : OracleLpBaseAnsiJoinClauseWithCondition
	{
		protected bool m_vInner;

		public override OracleLpJoinClauseType ClauseType => OracleLpJoinClauseType.Inner;

		public bool Inner
		{
			get
			{
				return m_vInner;
			}
			set
			{
				m_vInner = value;
			}
		}

		public OracleLpAnsiInnerCrossJoinClauseWithCondition(OracleLpFromListTerm ft)
			: base(ft)
		{
		}

		internal override void ToString(StringBuilder sb)
		{
			string depthIndent = base.DepthIndent;
			sb.Append(depthIndent);
			sb.Append("JoinType:  ");
			sb.Append(ClauseType);
			sb.Append("  InnerJoinType:  ");
			sb.Append(ConditionalType);
			sb.Append('\n');
			m_vTableReference.ToString(sb);
		}
	}
}
